<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <title>详情信息展示</title>
</head>
<body>


<table class="table table-bordered table-hover table-condensed">
    <tr>
        <a href="/after/show/show" class="btn btn-info">返回展示页面</a>
    </tr>
    <thead>
    {foreach $res as $k=>$v}
    <tr>
        <th>ID</th>
        <th>订单编号</th>
        <th>下单日期</th>
        <th>支付方式</th>
        <th>收货人</th>
        <th>总金额</th>
        <th>订单的状态</th>
    </tr>
    </thead>
    <tbody>
    {foreach $res as $k=>$v}
    <tr class="success">
        <td>{$v.id}</td>
        <td>{$v.o_order_id}</td>
        <td>{$v.o_order_time}</td>
        <td>{$v.o_mode}</td>
        <td>{$v.o_consignee}</td>
        <td>{$v.o_amount}</td>
        <td>
            {if $v.o_state==1}
            <a href="#">
                未付款
            </a>
            {/if}
            {if $v.o_state==2}
            <a href="#">
                已付款
            </a>
            {/if}
            {if $v.o_state==3}
            <a href="#">
                未发货
            </a>
            {/if}
            {if $v.o_state==4}
            <a href="#">
                已发货
            </a>
            {/if}
        </td>
{/foreach}
</body>
</html>